module.exports = (sequelize, Types) => {
    const AppVersionBindBucketAay = sequelize.define('AppVersionBindBucketAay', {
        id: {
            type: Types.INTEGER(11),
            primaryKey: true,
            autoIncrement: true,
        },
        project_id: Types.INTEGER(11),
        app: Types.INTEGER(11),
        app_version: Types.TEXT(20),
        bucket: Types.CHAR(2),
        day: Types.DATE,
    },{
        tableName:'app_version_bind_bucket_day'
    });
    AppVersionBindBucketAay.sync();
    return AppVersionBindBucketAay;
};